#{extends 'admin.html' /}
#{set title:messages.get('crud.title') /}

<div id="crudIndex">
	<div><h3>Welcome ${user}!</h3></div>

    <table>
        <thead>
            <tr>
                <th>&{'crud.index.objectType'}</th>
                <th width="20%">&{'crud.index.action'}</th>
            </tr>
        </thead>
        <tbody>
#{crud.types}
		#{secure.check type.name}
				
		            <tr>
	             	    <td>
		                    <a href="${type.listAction}">&{type.name}</a>
		                </td>
		                <td class="crudNew" >
		                    #{if type.name == "Users"}#{/if}#{else}<a href="${type.blankAction}">#{if type.name == "DomainsController"}&{'domian.importFile'}#{/if}#{else}New Proxy#{/else}</a>#{/else}
		                </td>
		            </tr>
       #{/secure.check}
#{/crud.types}
					<tr>
	             	    <td>
		                    <a href="@{Admin.majesticSeoKey()}">MajesticSeo Key</a>
		                </td>
		                <td></td>
		            </tr>

        </tbody>
    </table>

</div>
